package com.zhouchao.persistence.io;

import java.io.InputStream;

/**
 * @Author: zhouchao
 * @Date: 2021/05/03 16:35
 * @Description:
 */
public class Resources {
    public static InputStream getResourceAsStream(String resource) {
        InputStream inputStream = Resources.class.getClassLoader().getResourceAsStream(resource);
        return inputStream;
    }

}
